home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!hpl3sn03.cern.ch
- From: Dan Pop <danpop@mail.cern.ch>
- Newsgroups: comp.lang.c
- Subject: Re: Unbuffered character input...
- Date: Thu, 1 Feb 1996 13:08:19 +0100
- Organization: CERN European Lab for Particle Physics
- Message-ID: <9602011208.AA06949@dxmint.cern.ch>
- References: <Pine.SGI.3.91.960129190205.27936A-100000@tahiti.cs.unm.edu> <4elf0t$5vd@ixnews2.ix.netcom.com> <4ep3a1$bee@hacgate2.hac.com> <DM2zCI.379@emr1.emr.ca>
- X-NNTP-Posting-Host: hpl3sn03.cern.ch
- X-Newsreader: NN version 6.5.0 #7 (NOV)
- X-Mail2News-Path: disperse.demon.co.uk!post.demon.co.uk!dxmint.cern.ch!hpl3sn03.cern.ch
-
- jagrant@emr1.emr.ca (John Grant) writes:
-
- >In article <4ep3a1$bee@hacgate2.hac.com> collins@thor.tu.hac.com (Ron Collins) writes:
- >>
- >>There is no portable way to get unbuffered input, since C can't possibly
- >>know all about the dozens or hundreds of different terminal types available
- >>on all the machines made around the world.
- >>
- >>For best results (i.e., least evil alternative), check out the "curses"
- >>library available for your machine. Most common flavors can be had for
- >>free from any SimTel mirror.
-
- > Does 'portability' or 'least evil' imply that everything that is
- > not ANSI C be routed through a local version of a UNIX library?
-
- No, it means that the curses library is available virtually on every
- platform. Yes, it is true that it originated on Unix, but so did the
- stdio library and most of the other stuff in the standard C library.
-
- P.S. I am sick of reading complaints and sarcastic remarks about the
- style of the answers posted in c.l.c, especially when coming from people
- who never bother to post (correct) answers. If you don't like the
- style or contents of an answer, feel free to post a better one instead
- of whining. It's considerably more constructive.
-
- Dan
- --
- Dan Pop
- CERN, CN Division
- Email: danpop@mail.cern.ch
- Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
-